﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace ARchGL.Platform.Core
{
    /// <summary>
    /// 用户登录日志
    /// </summary>
    public class UserLoginAttemptExtend : Abp.Authorization.Users.UserLoginAttempt
    {
        /// <summary>
        /// 登录类型：1Web、2Android、3iOS、4H5、5Wechat、6小程序
        /// </summary>
        public int? Type { get; set; }
        /// <summary>
        /// 移动端当前版本
        /// </summary>
        [MaxLength(20)]
        public string Version { get; set; }
        /// <summary>
        /// 自定义实体类名称（UserLoginAttemptExtend）
        /// </summary>
        [MaxLength(22)]
        public string Discriminator { get { return "UserLoginAttemptExtend"; } }
    }
}
